package com.ruoyi.hotel.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备信息对象 device_info
 * 
 * @author ruoyi
 * @date 2025-03-04
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class DeviceInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** 设备编号 */
    @Excel(name = "设备编号")
    private String deviceCode;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String deviceName;

    /** 设备位置 */
    @Excel(name = "设备位置")
    private String deviceLocation;

    /** 设备状态 */
    private String deviceStatus;

    /** 设备状态文本 */
    @Excel(name = "设备状态文本")
    private String deviceStatusText;

    private String createBy;

    public String getDeviceCode() {
        return deviceCode;
    }

    public void setDeviceCode(String deviceCode) {
        this.deviceCode = deviceCode;
    }

    public String getPicPath() {
        return picPath;
    }

    public void setPicPath(String picPath) {
        this.picPath = picPath;
    }

    /** 图片路径 */
    private String picPath;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }

    public void setDeviceName(String deviceName) 
    {
        this.deviceName = deviceName;
    }

    public String getDeviceName() 
    {
        return deviceName;
    }

    public void setDeviceLocation(String deviceLocation) 
    {
        this.deviceLocation = deviceLocation;
    }

    public String getDeviceLocation() 
    {
        return deviceLocation;
    }

    public void setDeviceStatus(String deviceStatus) 
    {
        this.deviceStatus = deviceStatus;
    }

    public String getDeviceStatus() 
    {
        return deviceStatus;
    }

    public void setDeviceStatusText(String deviceStatusText) 
    {
        this.deviceStatusText = deviceStatusText;
    }

    public String getDeviceStatusText() 
    {
        return deviceStatusText;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("deviceName", getDeviceName())
            .append("deviceLocation", getDeviceLocation())
            .append("deviceStatus", getDeviceStatus())
            .append("deviceStatusText", getDeviceStatusText())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
